package com.huawei.statistics.service.video;

import com.huawei.statistics.pojo.video.Video;
import com.huawei.statistics.vo.common.HttpResult;

import java.util.List;


/**
 * Created by 18573 on 2018/12/8.
 */
public interface VideoService {

    List<Video> getAllVideo();

    public void uploadImageToOss();

    List<Video> getVdieoByRecommend();

    public List<Video> getVideoByTitle(String title);

    public HttpResult getVideoList(int page);

    public HttpResult getVideoByPage(int cur,int max);

    public List getVideoListByPage(int cur, int max,int type);

    public HttpResult getAiqiyiVideo(Integer num);

    public HttpResult getAiqiyiTYplay(Integer num);

    public HttpResult getAiqiyiComic(Integer num);

    public void getTVPlayDefailt(int type);

    public Boolean saveVideo(Video video);

    public Boolean getVideoByVid(String vid);

    public Video getVideoById(Long id);

    public int getVideoCountByType(int type);

    public Boolean updateVideo(Video video);
}
